<template>代办想起</template>
<script lang="ts" setup>
import { taskDetailApi } from '@/api/Work';
import { ref } from 'vue';

    var pages = getCurrentPages();
    var page = pages[pages.length - 1];
    const ids = page.options.ids.split(',')

    const rows = ref<any[]>([])

    async function init() {
        for(let i = 0; i < ids.length; i ++) {
            const r = await taskDetailApi(ids[i])
            if(r.success && r.data) {

            }
        }
    }


    init()

</script>